.class final Lorg/microemu/util/RecordEnumerationImpl$2;
.super Ljava/lang/Object;
.source "RecordEnumerationImpl.java"

# interfaces
.implements Ljava/util/Comparator;


# instance fields
.field private final this$0:Lorg/microemu/util/RecordEnumerationImpl;


# direct methods
.method constructor <init>(Lorg/microemu/util/RecordEnumerationImpl;)V
    .locals 0
    .parameter

    .prologue
    .line 205
    iput-object p1, p0, Lorg/microemu/util/RecordEnumerationImpl$2;->this$0:Lorg/microemu/util/RecordEnumerationImpl;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public compare(Ljava/lang/Object;Ljava/lang/Object;)I
    .locals 5
    .parameter "lhs"
    .parameter "rhs"

    .prologue
    const/4 v4, 0x1

    .line 209
    iget-object v1, p0, Lorg/microemu/util/RecordEnumerationImpl$2;->this$0:Lorg/microemu/util/RecordEnumerationImpl;

    invoke-static {v1}, Lorg/microemu/util/RecordEnumerationImpl;->access$000(Lorg/microemu/util/RecordEnumerationImpl;)Ljavax/microedition/rms/RecordComparator;

    move-result-object v1

    check-cast p1, Lorg/microemu/util/RecordEnumerationImpl$EnumerationRecord;

    .end local p1
    iget-object v2, p1, Lorg/microemu/util/RecordEnumerationImpl$EnumerationRecord;->value:[B

    check-cast p2, Lorg/microemu/util/RecordEnumerationImpl$EnumerationRecord;

    .end local p2
    iget-object v3, p2, Lorg/microemu/util/RecordEnumerationImpl$EnumerationRecord;->value:[B

    invoke-interface {v1, v2, v3}, Ljavax/microedition/rms/RecordComparator;->compare([B[B)I

    move-result v0

    .line 211
    .local v0, compare:I
    if-nez v0, :cond_0

    .line 212
    const/4 v1, 0x0

    .line 216
    :goto_0
    return v1

    .line 213
    :cond_0
    if-ne v0, v4, :cond_1

    move v1, v4

    .line 214
    goto :goto_0

    .line 216
    :cond_1
    const/4 v1, -0x1

    goto :goto_0
.end method
